//
// Created by ashCheng on 2023/2/6.
//
#include <iostream>
#include <string>

using std::cin;
using std::cout;
using std::endl;
using std::string;

int main() {
  string word1, word2;
  while (cin >> word1 >> word2) {
    if (word1 == word2) {
      cout << "The two strings are equal!" << endl;
    } else {
      cout << "The larger string is: " << ((word1 > word2) ? word1 : word2) << endl;
    }
  }
  return 0;
}